package com.juzipi.demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "user")
public class Users {


    @TableId(type = IdType.AUTO)
    private Long id;
    private String username;
    private String password;

    private Users(){

    }

    private static class UsersInstance{
        private static final Users INSTANCE = new Users();
    }

    public static Users getInstance(){
        return UsersInstance.INSTANCE;
    }


}
